package ipt.comparator;

import ipt.pru.Fila1.Alumno;

import java.util.Comparator;

public class OrdenarPorDni implements Comparator<Alumno> { 

	public int compare(Alumno o1, Alumno o2) {
		return (o1.getDni().compareTo(o2.getDni()));
	}
}
